package com.wocao.controller.uniapp;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@CrossOrigin
@Controller
@RequestMapping("uni-app")
public class UniOwnerRoomRecordController {

    //根据业主id获取全部绑定记录
    @GetMapping("/ownerRoomRecords/{ownerId}")
    public String getBuildingsByComId(@PathVariable String ownerId) {
        return "/zyOwnerRoomRecord/ownerRoomRecords/" + ownerId;
    }
}
